fix(tmux): install CCB block into .tmux.conf.local for Oh My Tmux#98
Merged
bfly123 merged 1 commit intobfly123:mainfrom Feb 26, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
ccb updatestarted doing a clean reinstall flow (CCB_CLEAN_INSTALL=1), which re-applies tmux integration during install.main, tmux install logic still appends the CCB block to~/.tmux.conf.What Broke
~/.tmux.confcan interfere with its internal reload/apply path (_apply_configuration) and cause reload errors like return 127.Root Cause
~/.tmux.confinstead of~/.tmux.conf.localfor Oh My Tmux) caused the new failure.Fix in This PR
TMUX_CONF_LOCALin main config).~/.tmux.conf.localfor Oh My Tmux setups.~/.tmux.conf).pwsh/powershell.exein paste flow and keeping UTF-8-safe PowerShell copy pipeline.Why This Matters
ccb update.Validation
bash -n install.shpytest -q test/test_tmux_backend.py test/test_tmux_respawn_pane.py test/test_ccb_tmux_split.py.tmux.conf.local.tmux.conf.tmux.confis cleaned on update